<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../../favicon.ico">

    <title>bootbox</title>

    <!-- Bootstrap core CSS -->
    <link href="../res/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="../res/css/navbar-fixed-top.css" rel="stylesheet">
    <link rel="stylesheet" href="../res/css/common.css">

    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
    <!--[if lt IE 9]>

    <![endif]-->


    <link rel="stylesheet" href="../res/plugins/select2/css/select2.css">
    <link rel="stylesheet" href="../res/css/themes/blue.css">
    <link rel="stylesheet" href="../res/plugins/Validform/css/Validform.css">
    <link rel="stylesheet" href="../res/plugins/toastr/css/toastr.css">
    <link rel="stylesheet" href="../res/plugins/toastr/css/toast.custom.css">
    <link rel="stylesheet" href="../res/plugins/bootbox/css/bootbox-custom.css">
    <style>


    </style>

</head>

<body>

<!-- Fixed navbar -->
<nav class="navbar navbar-default navbar-fixed-top">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">Project name</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
            <ul class="nav navbar-nav">
                <li><a href="#">Home</a></li>
                <li><a href="#about">About</a></li>
                <li><a href="#contact">Contact</a></li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown <span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li><a href="#">Action</a></li>
                        <li><a href="#">Another action</a></li>
                        <li><a href="#">Something else here</a></li>
                        <li role="separator" class="divider"></li>
                        <li class="dropdown-header">Nav header</li>
                        <li><a href="#">Separated link</a></li>
                        <li><a href="#">One more separated link</a></li>
                    </ul>
                </li>
            </ul>
            <ul class="nav navbar-nav navbar-right">
                <li><a href="../navbar/">Default</a></li>
                <li><a href="../navbar-static-top/">Static top</a></li>
                <li class="active"><a href="../res">Fixed top <span class="sr-only">(current)</span></a></li>
            </ul>
        </div><!--/.nav-collapse -->
    </div>
</nav>

<div class="container">

    <ol class="breadcrumb">
        <li><a href="#">主页</a></li>
        <li class="active">bootbox</li>
    </ol>

    <div class="panel panel-info">
        <div class="panel-heading" style="padding: 6px 15px;">
            <div class="row">
                <div class="col-xs-6" style="line-height: 30px;">
                    bootbox
                </div>
            </div>
        </div>
        <div class="panel-body">


            <img src="../res/images/loading.gif">


        </div>
    </div>


</div> <!-- /container -->


<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="../res/plugins/jquery/jquery-2.2.0.min.js"></script>
<script src="../res/plugins/bootstrap/js/bootstrap.min.js"></script>
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="../res/plugins/bootstrap/js/ie10-viewport-bug-workaround.js"></script>
<script src="../res/plugins/select2/js/select2.full.js"></script>
<script src="../res/plugins/Validform/js/Validform_v5.3.2_min.js"></script>
<script src="../res/plugins/Validform/js/Validform_Datatype.js"></script>
<script src="../res/plugins/jquery-formToObject/jquery.formToObject.js"></script>
<script src="../res/plugins/toastr/js/toastr.js"></script>
<script src="../res/plugins/bootbox/js/bootbox.js"></script>
<script>
   var c = bootbox.alert("Your message here…")
   console.log(c);
   c.modal("hide");
//    bootbox.alert("Your message here…", function(){
//        alert(1);
//    })
//    bootbox.alert({
//        size: 'small',
//        message: "Your message here…",
//        callback: function(){
//            alert(123);
//        }
//    })
//    bootbox.confirm("Your message here…", function(result){
//        alert(result);
//    })
//    bootbox.confirm({
//        size: 'small',
//        message: "Your message here…",
//        callback: function(result){ alert(result) }
//    })
//    bootbox.prompt("Your message here…", function(result){ alert(result); })
//    bootbox.prompt({
//        title:"请输入",
//        size: 'small',
//        message: "Your message here…",
//        callback: function(result){ alert(result); }
//    })


    var loading = bootbox.dialog({
        message : '正在保存,请稍候....',
        closeButton : true,
        className : 'loading',
        buttons : {}
    });
    console.log(loading);

</script>


</body>
</html>
